package cn.sciento.oauth.security.service;

import cn.sciento.core.oauth.CustomUserDetails;

import cn.sciento.oauth.domain.entity.User;

/**
 * 构建 CustomUserDetails
 *

 */
public interface UserDetailsBuilder {

    /**
     * 构建 CustomUserDetails
     * 
     * @param user User
     * @return CustomUserDetails
     */
    CustomUserDetails buildUserDetails(User user);

}
